<template>
    <view class="titleItem">
        <u--image :src="icon" height="48rpx" width="48rpx" mode="aspectFit" />
        <text class="title">{{title}}</text>
    </view>
</template>

<script>
    export default {
        name:"sectionTitle",
        props: {
            icon: {
                type: String,
                default: ''
            },
            title: {
                type: String,
                default: ''
            }
        },
        data() {
            return {
                
            };
        }
    }
</script>

<style lang="scss" scoped>
    .titleItem {
        margin: 0 26rpx 30rpx;
        display: flex;
        align-items: center;
        .title {
            margin-left: 18rpx;
            font-family: PingFang SC, PingFang SC;
            font-size: 38rpx;
            color: $uni-text-color-black;
        }
    }
</style>